@echo off
for %%F in (./*.png) do convert "%%F" -background white -flatten -alpha off "%%~nF".jpg

pause